﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ForgotUsername.aspx.cs" Inherits="InhollandAir.ForgotUsername" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    <h2>Forgot username</h2>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyPlaceHolder" runat="server">
   
    <div class=" span6">
        <form id="Form1" class="form-horizontal" runat="server">
             <p>If you forgot your username, you can use this page to have it sent to you by e-mail.</p>
            <asp:Label ID="lbl_Error" runat="server" Text=""></asp:Label>
            <div class="control-group">
                <!-- Username -->
                <label class="control-label" for="username">Email</label>
                <div class="controls">
                    <asp:TextBox ID="txt_Email" class="input-xlarge" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rqd_Email" runat="server" ErrorMessage="*Email is required" ControlToValidate="txt_Email" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="reg_Email" runat="server" ErrorMessage="Not an valid Emailaddress" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txt_Email" Display="Dynamic"></asp:RegularExpressionValidator>
                </div>
            </div>
            <div class="control-group">
                <!-- Button -->
                <div class="controls">
                    <asp:Button ID="btn_AskUsername" runat="server" Text="Get username" class="btn btn-success" OnClick="btn_AskUsername_Click" /><br />
                    <br />
                </div>
            </div>
            <asp:Label ID="lbl_Info" runat="server" class="alert alert-info" Visible="false"></asp:Label>

        </form>
    </div>
</asp:Content>
